<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>双向绑定练习</title>
</head>
<body>
<div>
    <input type="text" v-model="uri" placeholder="请输入访问的网址">
    <a :href="uri">访问</a>
</div>
<script src="https://lf3-cdn-tos.bytecdntp.com/cdn/expire-1-M/vue/2.6.14/vue.js"></script>
<script>
    let v = new Vue({
        el:"div",
        data:{
            uri:"https://"
        }
    })
</script>
</body>
</html>